package com.sh3h.generator.web.service;

import com.sh3h.generator.web.domain.GenTable;
import com.baomidou.mybatisplus.extension.service.IService;

import java.rmi.ServerException;
import java.sql.SQLException;

/**
 * @author 3HWX-YY-BJB-11
 * @description 针对表【gen_table(代码生成表)】的数据库操作Service
 * @createDate 2024-01-05 17:17:27
 */
public interface GenTableService extends IService<GenTable> {
    /**
     * 导入表
     *
     * @param datasourceId 数据源ID
     * @param tableName    表名
     */
    void tableImport(String datasourceId, String tableId, String tableName) throws ServerException, SQLException, ClassNotFoundException;
    void syncTable(String tableId) throws ServerException, SQLException, ClassNotFoundException;
}
